package mybatis.hr.main;

import mybatis.hr.dao.EmployeeDAO;
import mybatis.hr.domain.Employee;

public class EmployeeTest {

	public static void main(String[] args) {

		EmployeeDAO dao = EmployeeDAO.getInstance();
		Employee e = dao.selectEmployeeById("e-1");
		System.out.println(e);
		System.out.println("e-1의 부서 :" +e.getDepartment());
	}

}
